import { createPinia } from 'pinia'
import { useUserStore } from './modules/user'
import { useAppStore } from './modules/app'
import { useSettingsStore } from './modules/settings'

const store = createPinia()

export function registerStore(app) {
  app.use(store)
}

export { store, useUserStore, useAppStore, useSettingsStore }
